package com.jhz.speedy.logic.apiservice;

/**
 * 接口名的常量
 * Created by JunHeZ on 2017/6/30.
 */
public class APIConstance {
    /**
     * =========================  服务器地址  =========================
     */
    public static final String SERVER_IP_TBOX = "tbox.yichebang.net";    // Tbox设备服务器
    public static final int SERVER_PROT_TBOX = 8282;    // Tbox设备服务器 端口

    public static final String SERVER_BAIDU = "http://api.map.baidu.com/telematics/v3/";    // 百度地图

    public static final String SERVER_IP_BUSINESS_SHORT = "http://tbox.yichebang.net:8082/";    // 业务服务器地址
    public static final String SERVER_HOME = "index.php/Home/Index/"; // 主页路径
    public static final String SERVER_IP_BUSINESS = SERVER_IP_BUSINESS_SHORT + SERVER_HOME; // 业务服务器请求地址
    public static final String SERVER_CAR_LOCATION = SERVER_IP_BUSINESS + "posmap"; // 定位请求地址
    public static final String SERVER_CAR_LOCUS_MAP = SERVER_IP_BUSINESS + "roadmap"; // 轨迹地图请求地址

    public static final String CLIENTLOGIN = "clientlogin"; // 登录
    public static final String UPDATE = "update";   // 版本更新
    public static final String GETLASTSTATUSEX = "getlaststatusex";   // 获取车辆信息
    public static final String GETLASTPOSEX = "getlastposex";   // 获取车辆位置坐标
    public static final String GET_BAIDU_LOCATION = "getLocation"; // 获取百度地图位置
    public static final String GET_LOGIN_PASSWD = "get_login_passwd"; // 获取密码
    public static final String CLIENTCCIDQUERY = "clientccidquery"; // 绑定车辆，并获取车辆信息
    public static final String CLIENTCARGET = "clientcarget"; // 车主帐号获取车辆列表
    public static final String CLIENTDEVSEL = "clientdevsel"; // 车主帐号选中车辆
    public static final String CLIENTSUGGEST = "clientsuggest"; // 意见反馈
    public static final String UPDATE_TXT = "update.txt"; // 版本升级

}
